﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindow.Models.S7NET
{
    public class S7CMDModel
    {
        public S7CMDModel()
        {
            BarCodeByte = new byte[52];
        }
        /// <summary>
        /// 设备状态
        /// </summary>
        public ushort DeviceStatus { get; set; }
        /// <summary>
        /// 扫码启动
        /// </summary>
        public ushort BeforeCodeStart { get; set; }
        /// <summary>
        /// 称重
        /// </summary>
        public ushort BeforeWeight { get; set; }
        /// <summary>
        /// 前称重清零
        /// </summary>
        public ushort BeforeWeightClear { get; set; }
        /// <summary>
        /// 启动注液泵
        /// </summary>
        public ushort BumpPARASendCMD { get; set; }
        /// <summary>
        /// 条码
        /// </summary>
        public byte[] BarCodeByte { get; set; }
        /// <summary>
        /// 注液前真空
        /// </summary>
        public float VacuumBeforeFilling { get; set; }
        /// <summary>
        /// 注液时真空
        /// </summary>
        public float VacuumDuringFilling { get; set; }
        /// <summary>
        /// 回氦前真空度
        /// </summary>
        public float VacuumBeforeReturningHelium { get; set; }
        /// <summary>
        /// 回氦后真空度
        /// </summary>
        public float VacuumDegreeAfterReturningHelium { get; set; }
        /// <summary>
        /// 注液正压
        /// </summary>
        public float PositivePressure { get; set; }
        /// <summary>
        /// 注液负压
        /// </summary>
        public float NegativePressure { get; set; }
        /// <summary>
        /// 站号
        /// </summary>
        public ushort StationNo { get; set; }
        /// <summary>
        /// 杯号
        /// </summary>
        public ushort CupNumber { get; set; }
        /// <summary>
        /// 循环次数
        /// </summary>
        public ushort Cycles { get; set; }
        /// <summary>
        /// 注液正压时间
        /// </summary>
        public ushort TimePositivePressure { get; set; }
        /// <summary>
        /// 注液负压时间
        /// </summary>
        public ushort TimeNegativePressure { get; set; }
        /// <summary>
        /// 注液正压时间设定值
        /// </summary>
        public ushort TimePositivePressureSetting { get; set; }
        /// <summary>
        /// 注液负压时间设定值
        /// </summary>
        public ushort TimeNegativePressureSetting { get; set; }
        /// <summary>
        /// 注液正压设定值
        /// </summary>
        public float PositivePressureSetting { get; set; }
        /// <summary>
        /// 注液负压设定值
        /// </summary>
        public float NegativePressureSetting { get; set; }
        /// <summary>
        /// 注液前真空设定值
        /// </summary>
        public float VacuumBeforeFillingSetting { get; set; }
        /// <summary>
        /// 注液时真空设定值
        /// </summary>
        public float VacuumDuringFillingSetting { get; set; }
    }
}
